package cn.edu.neusoft.mall.service.impl;

import cn.edu.neusoft.mall.Dao.adminDao;
import cn.edu.neusoft.mall.Dao.impl.adminDaoImpl;
import cn.edu.neusoft.mall.entity.User;
import cn.edu.neusoft.mall.entity.subscribe;
import cn.edu.neusoft.mall.service.adminService;

import java.util.List;

public class adminServiceimpl implements adminService {
    private adminDao adminDao=new adminDaoImpl();
    @Override
    public List<User> getUserListS() {
        return adminDao.getUserList();
    }

    @Override
    public List<subscribe> getcatSubscribeListS() {
        return adminDao.getcatsSubscribeList();
    }
    @Override
    public List<subscribe> getdogSubscribeListS() {
        return adminDao.getdogsSubscribeList();
    }
}
